package com.ruoyi.common.core.domain.entity;
import java.math.BigDecimal;

import com.ruoyi.common.core.domain.NewBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
/**
 * 用户管理对象 member_info
 * 
 * @author wendao
 * @date 2024-08-15
 */
public class MemberInfo extends NewBaseEntity
{
    private static final long serialVersionUID = 1L;
    /** 主键 */
    private Integer id;
    /** 姓名 */
    @Excel(name = "姓名")
    private String memberName;
    /** 账号 */
    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;
    /** 头像 */
    private String avatar;
    private String nickName;
    private String openid;
    /** 密码 */
    private String password;
    /*性别*/
    @Excel(name = "性别",dictType = "sys_user_sex")
    private Integer memberSex;
    /*年龄*/
    private Integer memberAge;
    /** 积分 */
    @Excel(name = "积分")
    private Integer memberPoint;
    /** 消费金额 */
    @Excel(name = "消费金额")
    private BigDecimal memberAmount;
    /** 状态 */
    @Excel(name = "状态",dictType = "member_state")
    private Integer memberState;
    /** 删除时间 */
    private Integer deleteTime;

    private String verify_code; //验证码
    private Integer login_type;  //登陆类型


    public Integer getLogin_type() {
        return login_type;
    }

    public void setLogin_type(Integer login_type) {
        this.login_type = login_type;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    /**
     * 用户唯一标识
     */
    private String token;
    /**
     * 过期时间
     */
    private Long expireTime;

    public String getVerify_code() {
        return verify_code;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Long expireTime) {
        this.expireTime = expireTime;
    }

    public void setVerify_code(String verify_code) {
        this.verify_code = verify_code;
    }
    public Integer getMemberSex() {
        return memberSex;
    }
    public void setMemberSex(Integer memberSex) {
        this.memberSex = memberSex;
    }
    public Integer getMemberAge() {
        return memberAge;
    }
    public void setMemberAge(Integer memberAge) {
        this.memberAge = memberAge;
    }
    public void setId(Integer id)
    {
        this.id = id;
    }
    public Integer getId() 
    {
        return id;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }
    public String getPhone() 
    {
        return phone;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }
    public String getAvatar() 
    {
        return avatar;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }
    public String getPassword() 
    {
        return password;
    }
    public void setMemberName(String memberName) 
    {
        this.memberName = memberName;
    }
    public String getMemberName() 
    {
        return memberName;
    }
    public void setMemberPoint(Integer memberPoint) 
    {
        this.memberPoint = memberPoint;
    }
    public Integer getMemberPoint() 
    {
        return memberPoint;
    }
    public void setMemberAmount(BigDecimal memberAmount) 
    {
        this.memberAmount = memberAmount;
    }
    public BigDecimal getMemberAmount() 
    {
        return memberAmount;
    }
    public void setMemberState(Integer memberState) 
    {
        this.memberState = memberState;
    }
    public Integer getMemberState() 
    {
        return memberState;
    }
    public void setDeleteTime(Integer deleteTime) 
    {
        this.deleteTime = deleteTime;
    }
    public Integer getDeleteTime() 
    {
        return deleteTime;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("phone", getPhone())
            .append("avatar", getAvatar())
            .append("password", getPassword())
            .append("memberName", getMemberName())
            .append("memberPoint", getMemberPoint())
            .append("memberAmount", getMemberAmount())
            .append("memberState", getMemberState())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
